package ZY11_23;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
//服务器
public class Test1LoginServer {
    public static void main(String[] args) {
        try {
            ServerSocket st=new ServerSocket(8888);
            while (true){
                final Socket s=st.accept();
                new Test1LoginThread(s).start();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
